package mongo

import (
	"gin/controller/mongo"

	"github.com/gin-gonic/gin"
)

func MongoRouter(r *gin.Engine) {
	r.GET("/mongo", mongo.FindMongo)
	r.POST("/mongo", mongo.AddMongo)
	r.PUT("/mongo", mongo.SetMongo)
	r.DELETE("/mongo", mongo.DelMongo)
}
